﻿using DXApplicationTangche.UC.面料审核.Service;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DXApplicationTangche.UC.面料审核
{
    public partial class Form物料需求计划 : DevExpress.XtraEditors.XtraForm
    {
        public Form物料需求计划()
        {
            InitializeComponent();
            this.gridControl物料需求计划.DataSource = 面料审核Service.getMaterialPlanIndexAll();
            this.gridView物料需求计划.ExpandAllGroups();
        }

        private void gridView物料需求计划_DoubleClick(object sender, EventArgs e)
        {
            String id = this.gridView物料需求计划.GetRowCellValue(this.gridView物料需求计划.FocusedRowHandle, "id").ToString();
            new Form下达采购订单(id).ShowDialog();
        }
    }
}
